import {createRouter,createWebHashHistory} from "vue-router"
// import routes from './routes.js'

    const routes=[
        {
            name:'student',
            path:'/',
            component:()=>import('../view/student/list.vue')
        },
        {
            name:'classes',
            path:'/classes',
            component:()=>import('../view/classes/list.vue')
        }
    ]
    const router = createRouter({
        history:createWebHashHistory(),
        routes
    })

    export default router
